package org.tis.tools.senior.module.developer.entity.enums;

import org.tis.tools.model.enums.BaseEnum;

import java.io.Serializable;

public enum WorkGroup implements BaseEnum {

    OPERATION("0","运维组"),
    USEONE("1","应用一组"),
    USETWO("2","应用二组"),
    USETHREE("3","应用三组"),
    USEFOUR("4","应用四组"),
    PAD("5","pad组");

    private final String value;

    private final String name;

    WorkGroup(final String value, final String name) {
        this.value = value;
        this.name = name;
    }


    @Override
    public Serializable deserialze() {
        return value;
    }

    @Override
    public Serializable getValue() {
        return value;
    }

    @Override
    public String toString() {
        return name;
    }
}
